package com.job.admin.message.service;

import com.job.admin.message.pojo.MessageItem;
import com.job.client.common.result.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface MessageService {
    ResponseResult createMessage(String messageId);

    ResponseResult createConnect(String messageId,String connectId,MessageItem messageItem);

    ResponseResult saveMessage( String messageId1, String connectId,MessageItem messageItem );
    ResponseResult getById(String userId);

    ResponseResult deleteById(String userId);

    ResponseResult uploadAvatar(MultipartFile file, HttpServletRequest request);

    ResponseResult getUserInfo(String userId);

    ResponseResult getAuditInfo(String userId);

    ResponseResult clearNumber(String userId);

    ResponseResult sendMessage(String userId, MessageItem messageItem);

    ResponseResult sendScreenshot(String base64);
    public void pushMessage(String cid,String data);

}
